package com.hzhr.iot.log.dao.mapper.custom;

import com.hzhr.iot.log.entity.LogEntityWithBLOBs;
import org.apache.ibatis.annotations.Param;

public interface LogEntityCustomMapper {
    int insert(@Param("day") String day, @Param("record") LogEntityWithBLOBs record);

    int update(@Param("day") String day, @Param("record") LogEntityWithBLOBs record);

    LogEntityWithBLOBs selectWithBLOBSByTransactionIdAndServiceName(@Param("day") String day,
                                             @Param("transactionId") String transactionId,
                                             @Param("serviceName") String serviceName);
}
